import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/get_record_person_sort_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/get_record_person_sort_entity.g.dart';

@JsonSerializable()
class GetRecordPersonSortEntity {
	String name = '';
	int count = 0;
	/// 值班一致百分比
	int percent2 = 0;
	///已签到百分比
	double signedInPercent = 0.0;
	///未签到百分比
	double notSignedInPercent = 0.0;
	GetRecordPersonSortEntity();

	factory GetRecordPersonSortEntity.fromJson(Map<String, dynamic> json) => $GetRecordPersonSortEntityFromJson(json);

	Map<String, dynamic> toJson() => $GetRecordPersonSortEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}